﻿namespace ProduceBasicData.Api.DTO.RBACDto
{
    /// <summary>
    /// 用户Dto
    /// </summary>
    public class UsersDto
    {
        /// <summary>
        /// 主键id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string UserPwd { get; set; }

        /// <summary>
        /// 真实姓名
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 联系方式
        /// </summary>
        public string? Phone { get; set; }

        /// <summary>
        /// 联系方式
        /// </summary>
        public string? Email { get; set; }

        /// <summary>
        /// 头像
        /// </summary>
        public string? Avatar { get; set; }

        /// <summary>
        /// 部门ID
        /// </summary>
        public int? DepartmentId { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public bool State { get; set; }=true;

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string? UpdateName { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Isdel { get; internal set; }
    }
}
